/*
============================================================================
FileName	:	XQChatTalkGroup.h
Author		:	liyake
Website		:	http://www.liyake.com
Create Data	:	2012-03-08 13:07
Change Data	:	2012-03-08 13:07
Detail		:	The chat dialog of xqchat application
============================================================================
*/
#ifndef _XQCHAT_TALK_GROUP_H_
#define _XQCHAT_TALK_GROUP_H_

#include <QGraphicsObject>

namespace XQChat
{
	class CXQChatTalkGroup : public QGraphicsObject
	{
		Q_OBJECT
	public:
		CXQChatTalkGroup(QGraphicsItem* parent = 0);
		~CXQChatTalkGroup(void);

	public:
		virtual void paint( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 );
		virtual QRectF boundingRect() const;

	public:
		static CXQChatTalkGroup* getXQChatTalkGroup();	//get the object pointer.

	private:
		static CXQChatTalkGroup* m_pTalkGroup;		//only one object
	};
}


#endif	//_XQCHAT_TALK_GROUP_H_